package com.ftg.learn.mapper;

import com.ftg.learn.dao.DeptDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptMapper {

    @Select("select * from dept")
    List<DeptDao> show();

}
